
@if(Session::has('message'))
    <div class="alert alert-info" style="display: none"> {{Session::get('message')}}
    </div>
    <script>
        $(function () {
            setTimeout(function () {
                $(".alert").show();
            }, 500);
            setTimeout(function () {
                $(".alert").hide();
            }, 4000);
        })
    </script>
@endif